PROJECT(kusabaparser)
INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR}
					${CMAKE_SOURCE_DIR}/boardparsers)

SET(kusabaparser_sources
	kusabaparser.cpp)

SET(kusabaparser_headers
	kusabaparser.h)

QT4_WRAP_CPP(kusabaparser_moc ${kusabaparser_headers})

ADD_LIBRARY(kusabaparser MODULE ${kusabaparser_sources} ${kusabaparser_moc})
TARGET_LINK_LIBRARIES(kusabaparser ${QT_LIBRARIES} ${spelling_libs} wm)
SET_TARGET_PROPERTIES(kusabaparser PROPERTIES LIBRARY_OUTPUT_DIRECTORY ..)

INSTALL(TARGETS kusabaparser LIBRARY DESTINATION ${LIBDIR}/plugins/boardparsers)

